package com.cookor.poi.modules.cms.entity;

import java.io.Serializable;
import java.util.List;

public class CmsSurveryQuestion implements Serializable {
    /**
     * 编号
     *
     * @mbg.generated
     */
    private String id;

    /**
     * 序号
     *
     * @mbg.generated
     */
    private String sort;

    /**
     * 对应的问卷
     *
     * @mbg.generated
     */
    private String surveryId;

    /**
     * 内容
     *
     * @mbg.generated
     */
    private String title;

    /** */
    private List<CmsSurveryOption> options;

    private String optionStr;

    public String getOptionStr() {
        return optionStr;
    }

    public void setOptionStr(String optionStr) {
        this.optionStr = optionStr;
    }

    private static final long serialVersionUID = 1L;

    public List<CmsSurveryOption> getOptions() {
        return options;
    }

    public void setOptions(List<CmsSurveryOption> options) {
        this.options = options;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getSurveryId() {
        return surveryId;
    }

    public void setSurveryId(String surveryId) {
        this.surveryId = surveryId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", sort=").append(sort);
        sb.append(", surveryId=").append(surveryId);
        sb.append(", title=").append(title);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}